
					<section class="box clearfix productTeaserBox">
						<div id="gallery1">
							
							<?php if(isset($silders->img1) && $silders->img1 != "" && isset($silders->url1) && $silders->url1 !="" ) { ?>
								<a href="<?php echo $silders->url1;?>" class="show"><img rel=" " title="" alt="slider1" src="<?php echo $silders->img1;?>"></a>
							<?php }?>
							<?php if(isset($silders->img2) && $silders->img2 != "" && isset($silders->url2) && $silders->url2 !="" ) { ?>
								<a href="<?php echo $silders->url2;?>" class=""><img rel="" title="" alt="slider1" src="<?php echo $silders->img2;?>"></a>
							<?php }?>
							<?php if(isset($silders->img3) && $silders->img3 != "" && isset($silders->url3) && $silders->url3 !="" ) {?>
								<a href="<?php echo $silders->url3;?>" class=""><img rel="" title="" alt="slider1" src="<?php echo $silders->img3;?>"></a>	
							<?php }?>
							<?php if(isset($silders->img4) && $silders->img4 != "" && isset($silders->url4) && $silders->url4 !="" ) { ?>
								<a href="<?php echo $silders->url4;?>" class=""><img rel="" title="" alt="slider1" src="<?php echo $silders->img4;?>"></a>
							<?php }?>
							<?php if(isset($silders->img5) && $silders->img5 != "" && isset($silders->url5) && $silders->url5 !="" ) { ?>
								<a href="<?php echo $silders->url5;?>" class=""><img rel="" title="" alt="slider1" src="<?php echo $silders->img5;?>"></a>	
							<?php }?>
							
							
						</div>
					</section>
					<section class="box clearfix productTeaserBox">
						<!-- Sitemap -->

						<!-- Filter box -->
						<div class="product-filter-wrapper">
							<div class="title">
								<span>Tìm theo</span>
							</div>
							<!-- Price Range -->
							<div class="filter">
								<div class="filter-name">
									<a href="javascript:;" title="Mức giá">Mức giá</a>
								</div>
								<div class="filter-list-wrapper ">
									<ul class="filter-list nolist ">
										<li class="checked"><a href="<?php echo base_url().'san-pham-may-loc-nuoc';?>">Tất cả</a></li>
										<?php foreach ($khoanggia as $khoanggias):?>
										<li><a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $khoanggias['aprice_name']))).'-g-'.$khoanggias['aprice_id'];?>"><?php echo $khoanggias['aprice_name'];?></a></li>
										<?php endforeach;?>
										
									</ul>
								</div>
							</div>
							<!-- Manufacturer -->
							<div class="filter">
								<div class="filter-name">
									<a href="javascript:;" title="Hãng sản xuất">Hãng sản xuất</a>
								</div>
								<div class="filter-list-wrapper ">
									<div class="filter-list nolist maunufacturer">
										<ul>
											<li class="checked"><a href="<?php echo base_url().'san-pham-may-loc-nuoc';?>">Tất
													cả</a></li>
											<?php foreach ($hangsanxuat AS $hangsanxuats): ?>
											<li class=""><a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $hangsanxuats['origin_name']))).'-h-'.$hangsanxuats['origin_id'];?>"><?php echo $hangsanxuats['origin_name']?></a></li>
											<?php endforeach;?>
										</ul>
										<ul class="child">
										</ul>
									</div>
								</div>
							</div>
							<!-- Property -->
							<div class="filter">
								<div class="filter-name">
									<a href="javascript:;" title="Hệ điều hành">Thương hiệu</a>
								</div>
								<div class="filter-list-wrapper ">
									<ul class="filter-list nolist ">
										<li class="checked">
											<a href="<?php echo base_url().'san-pham-may-loc-nuoc';?>">
											Tất cả</a>
										</li>
										<?php foreach ($thuonghieu AS $thuonghieus):?>
										<li><a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $thuonghieus['brand_name']))).'-t-'.$thuonghieus['brand_id'];?>"><?php echo $thuonghieus['brand_name']?></a></li>
										<?php endforeach; ?>
										
									</ul>
								</div>
							</div>
							<div class="filter">
								<div class="filter-name ">
									<a href="javascript:;" title="Kích thước màn hình">Công
										suất</a>
								</div>
								<div class="filter-list-wrapper ">
									<ul class="filter-list nolist ">
										<li class="checked"><a href="<?php echo base_url().'san-pham-may-loc-nuoc';?>">Tất
												cả</a></li>
										<?php foreach ($congxuat AS $conxuats): ?>
										<li><a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $conxuats['capacity_name']))).'-cx-'.$conxuats['capacity_id'];?>"><?php echo $conxuats['capacity_name']?></a></li>
										<?php endforeach;?>
										
									</ul>
								</div>
							</div>
                            <div class="filter">
								<div class="filter-name ">
									<a href="javascript:;" title="Kích thước màn hình">Tính năng</a>
								</div>
								<div class="filter-list-wrapper ">
									<ul class="filter-list nolist ">
										<li class="checked"><a href="<?php echo base_url().'san-pham-may-loc-nuoc';?>">Tất
												cả</a></li>
										<?php foreach ($tinhnang AS $tinhnangs): ?>
										<li><a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $tinhnangs['tech_name']))).'-tn-'.$tinhnangs['tech_id'];?>"><?php echo $tinhnangs['tech_name']?></a></li>
										<?php endforeach;?>
										
									</ul>
								</div>
							</div>
							<!-- Property -->
							<!-- 
							<div class="filter">
								<div class="filter-name">
									<a href="javascript:;" title="Tính năng">Tính năng</a>
								</div>
								<div class="filter-list-wrapper ">
									<ul class="filter-list nolist ">
										<li class="checked"><a href="javascript:void(0)">Tất
												cả</a></li>
										<li><a href="#">GGG</a></li>
										<li><a href="#">ggg</a></li>
										<li><a href="#">gggg</a></li>
										<li><a href="#">ggg</a></li>
										<li><a href="#">ttt</a></li>
									</ul>
								</div>
							</div>
							 -->

							<!-- Order -->
							<div class="filter selected orderby">
								<div class="filter-name ">
									<a href="javascript:;" title="Giá cao đến thấp">Giá cao đến
										thấp</a>
								</div>
								<div class="filter-list-wrapper">
									<ul class="filter-list nolist ">
										<li class="checked"><a href="<?php echo base_url().'san-pham-may-loc-nuoc';?>">Giá cao đến thấp</a></li>
										<li><a href="<?php echo base_url().'san-pham-may-loc-nuoc-t';?>">Giá thấp đến cao</a></li>
									</ul>
								</div>
							</div>
							<script type="text/javascript">
                    $('#ulcatmenu > li > a').each(function(){
                        var tmp = $(this).attr('href').replace('/','');
                        if(tmp.indexOf(caturl) >= 0){
                            $(this).addClass('active');
                            return;
                        }
                    });
                </script>
						</div>

						<!-- CategoryKeyOffer -->
						<script type="text/javascript">
        $('.productTeaserBox .product-filter-wrapper').css('margin-bottom', '0');
    </script>

						<!-- Compare area -->
						<div id="catprodcmpr"></div>

						<!-- Product list -->

					</section>
					<!------------end.right2---------->
					
					<?php foreach ($getAllCategory as $getAllCategorys):?>
					<?php
					//var_dump($getAllCategorys);
					?>
					<?php if($getAllCategorys['cate_id'] != 17 && $getAllCategorys['cate_id'] != 16 &&   $getAllCategorys['cate_id'] != 10 &&   $getAllCategorys['cate_id'] != 18  ){ ?> 
					<section class="box clearfix productTeaserBox">
						<header class="header ">
							<?php if(isset($getAllCategorys['cate_name']) && $getAllCategorys['cate_type'] != 1 ) {?>
							<div class="ui-borderBottom clearfix">
								<h2 class="lfloat h3">
									<?php echo $getAllCategorys['cate_name']; ?>
								</h2>
								<div class="clearfix"></div>
							</div>
							<?php }?>
						</header>
						
						<?php $i = 0 ;?>
						<?php foreach ($getAllProduct as $getAllProducts):?>
							
							<?php if($getAllProducts['cate_id'] == $getAllCategorys['cate_id'] &&  $getAllCategorys['cate_type'] != 1){ ?>
								<?php $i++ ;?>
								
								 <?php if ($i < 5)
								   { ?>
								   <?php
// 								   echo "<pre>";
// 								   var_dump($getAllCategorys);
// 								   echo "</pre>"; 
								   ?>
									<div class="lis_prd">
									<div class="lis2">
										<a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $getAllProducts['title']))).'.html';?>"><img width="150px" height="170px" src="<?php echo $getAllProducts['img1'];?>"></a>
										<div class="ldtail2">
											<h3>
												<a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $getAllProducts['title']))).'.html';?>"><?php echo $getAllProducts['title'];?></a>
											</h3>
											<p class="price"><?php echo number_format($getAllProducts['price']);?> VNĐ</p>
											<a class="more" href="<?php echo base_url(). mb_strtolower(url_title(removesign( $getAllProducts['title']))).'.html';?>">Xem chi tiết</a>
										</div>
									</div>
									</div>
								   
							<?php } } ?>
						
						<?php endforeach;?>
						<?php if(isset($getAllCategorys['cate_name']) && $getAllCategorys['cate_type'] != 1 ) {?>
						<div class="next_content">
							<a href="<?php echo base_url(). mb_strtolower(url_title(removesign( $getAllCategorys['cate_name']))).'-c-'.$getAllCategorys['cate_id'];?>" class="ns2-readmore">Xem thêm</a>
						</div>
						<?php }?>
					</section>
					<!------------end.right3---------->
					<?php }?>
					<?php endforeach;?>
					
					
					